﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Combat/Combat.master" AutoEventWireup="true"
    CodeFile="ProfessionalProc.aspx.cs" Inherits="MapInfo_ProfessionalTeam_ProfessionalProc"
    StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="padding: 2px 6px; border: solid 1px #FEDBB5; margin: 4px 0; background-color: #FFFCDC">
        <div>
            <span style="color: Green">&gt;&gt;&nbsp; </span>
            <asp:Label ID="lblDepartment" runat="server"></asp:Label>：
            <asp:Label ID="lblHelpName" runat="server" Font-Bold="True">灭火抢险救援专业队伍</asp:Label>
        </div>
    </div>
    <ul class="topmenu">
        <li>
            <asp:LinkButton runat="server" ID="btnAdd" OnClick="btnAdd_Click">添加</asp:LinkButton>
        </li>
        <li>
            <asp:LinkButton ID="lbtReturn" runat="server" OnClick="lbtReturn_Click">返回</asp:LinkButton>
        </li>
    </ul>
    <asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" Caption="<span>专业队伍建设</span>"
        DataKeyNames="Id" OnRowDataBound="gvSoldiers_RowDataBound" OnRowCommand="gv_RowCommand"
        OnRowDeleting="gvSoldiers_RowDeleting">
        <Columns>
            <asp:TemplateField ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Width="30px" HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="名称">
                <ItemTemplate>
                    <asp:Label runat="server" ID="lblName"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="职能">
                <ItemTemplate>
                    <asp:Label runat="server" ID="ProcessionFunction" Text='<%# Eval("ProcessionFunction") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="SerUpdateDate" HeaderText="更新时间" DataFormatString="{0:yyyy-MM-dd}" />
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:LinkButton runat="server" ID="lblOP" CommandName="SD" CommandArgument='<%# Eval("id") %>'>人员装备</asp:LinkButton>
                    <asp:LinkButton runat="server" ID="lblEdit" CommandName="Editcom" CommandArgument='<%# Eval("id") %>'>编辑</asp:LinkButton>
                    <asp:LinkButton runat="server" ID="lbnDelete" CommandName="del" CommandArgument='<%# Eval("id") %>'>删除</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
</asp:Content>
